Skip to content

Conversation

sthagen
Copy link
Owner

@sthagen sthagen commented Jan 9, 2020

The size of the output buffer in numeric decoder is computed incorrectly
which may lead to stack corruption or access to unitialized memory.

This also fixes incorrect rendering of trailing zeros in some cases.

Fixes: MagicStack#520
Fixes: MagicStack#514

The size of the output buffer in numeric decoder is computed incorrectly
which may lead to stack corruption or access to unitialized memory.

This also fixes incorrect rendering of trailing zeros in some cases.

Fixes: #520
Fixes: #514
@sthagen sthagen merged commit 323ff23 into sthagen:master Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Segmentation fault when there are trailing zeros in numeric values Extra zero decimal digits after decoding NUMERIC (DECIMAL) type
2 participants